from Common.MTurk.BaseParams import BaseParams



class ApproveAssignmentParams(BaseParams):
    '''
    The ApproveAssignment operation approves the results of a completed assignment.
    '''

    def __init__(self, assignmentID, feedback=''):
        '''
        Constructor
        '''
        BaseParams.__init__(self, 'ApproveAssignment')
        self.parameters["AssignmentId"] = assignmentID
        if '' != feedback:
            self.parameters["RequesterFeedback"] = feedback
            

if __name__ == "__main__":
    chp = ApproveAssignmentParams(12345)
    print chp.parameters